package producersConsumersTests.utils;

public abstract class RunnableWithId implements Runnable {
	protected final long id;
	
	protected RunnableWithId(long id) {
		super();
		this.id = id;
	}
	
	public long getId() {
		return id;
	}
	
	@Override
	public String toString() {
		return Long.toString(id);
	}
}
